package demo;

import java.io.FileOutputStream;
import java.nio.charset.StandardCharsets;

public class HelloWorld {
    public static void main(String[] args) throws Exception{
        FileOutputStream fos=new FileOutputStream("hello.txt");
        fos.write("Hello World".getBytes());
        fos.write("Hello Java".getBytes());
        fos.write("branch1".getBytes());//在branch1中添加了一组代码；
        System.out.println("写出完毕");
        System.out.println("newbranch中添加的代码！");
        System.out.println("master上修改的内容！！");
        System.out.println("safafaffa");
        fos.close();
    }
}
